Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use each instead of each_with_index #4641

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

kenhys
Copy link
Contributor

@kenhys kenhys commented Sep 20, 2024

Which issue(s) this PR fixes:

Fixes #

What this PR does / why we need it:

It is trivial, but apparently index is not used at all in this method.

It does not change internal logic at all.

Docs Changes:

N/A

Release Note:

N/A

It is trivial, but apparently index is not used at all in this method.

Signed-off-by: Kentaro Hayashi <[email protected]>
@kenhys kenhys force-pushed the replace-each-with-index branch from d4d9e22 to 1d2d219 Compare September 20, 2024 06:11
@kenhys
Copy link
Contributor Author

kenhys commented Sep 20, 2024

This code is not changed since 2014...

Copy link
Contributor

@daipom daipom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!
Waiting CI.

@daipom daipom added this to the v1.18.0 milestone Sep 20, 2024
@daipom daipom merged commit b5fc93f into fluent:master Sep 24, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants